package com.sunlake.spring.main.model.article.service;

import com.sunlake.spring.main.common.response.R;
import com.sunlake.spring.main.model.article.dto.CreateArticlesDTO;
import com.sunlake.spring.main.model.article.dto.FetchArticlesDTO;
import com.sunlake.spring.main.model.article.vo.uploadCoverVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.HashMap;

public interface ArticleService {
    R fetchArticles(FetchArticlesDTO fetchArticlesDTO);
    R<String> createArticle(CreateArticlesDTO createArticlesDTO);
    R uploadCover(MultipartFile file);
}
